using System;
using Spring.Data.NHibernate.Support;
using Spring.Data.NHibernate;
using NHibernate; 
using NHibernate.Criterion;
using System.Collections.Generic;
using System.Collections;
namespace pos.entity
{
    /// <summary>
    /// Summary description for 网上订单日志 数据库访问类
    /// </summary>
    public partial  class EorderLogDao:Dao<EorderLog>
    {
    	
		 public EorderLog GetById(String val)
		 {
		 	dc=DC.Add(Restrictions.Eq("id",val));
		 	return (EorderLog)dao.Execute(__GetByDcDelegate);
		 }
		 public EorderLog GetByOrderID(String val)
		 {
		 	dc=DC.Add(Restrictions.Eq("orderID",val));
		 	return (EorderLog)dao.Execute(__GetByDcDelegate);
		 }

    }
}

